package cn.hill4j.tool.spring.std.advice.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "local",path = "/say",url = "localhost:8888")
public interface SayHelloFeign {
    @GetMapping("/hello/{user}")
   String sayHello(@PathVariable("user")String user);
}
